package com.stu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2023-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StudentDesc implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private Long sid;

    private String name;

    private Integer age;

    private String sex;

    private String address;

    private String phone;

    private String parentPhone;

    private String study;

    private String hobby;

    private Long idNumber;

    private String description;

    private Long channelId;

    private String channelName;

    /**
     * 缴费状态 0未完成 1已完成 2已退款
     */
    private String payStatus;

    /**
     * 已交金额
     */
    private Double payCount;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    //创建人
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    //修改人
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

    /**
     * 逻辑删除 0:可用1:逻辑删除
     */
    private Integer isDeleted;


}
